<include file="Public:header" />
<section class="panel-default">
    <div class="panel-body bg-info text-center h4">用户登录</div>
    <div class="panel-body">
        <form class="bs-example form-horizontal registerform" action="{:U('Wap/login')}" method="post">
            <div class="form-group">
                <label class="col-lg-2 control-label">电话</label>
                <div class="col-lg-10">
                    <input type="tel" class="form-control" datatype="m" name="mobile_phone"
                           errormsg="请输入正确的手机号码"  sucmsg="输入正确！" nullmsg="请输入手机号码！" placeholder="请输入11位手机号码" />
                </div>
                <div class="col-lg-10"><span class="Validform_checktip"></span></div>
            </div>
            <div class="line line-dashed"></div>
            <div class="form-group">
                <label class="col-lg-2 control-label">密码</label>
                <div class="col-lg-10">
                    <input type="password" class="form-control" name="password" placeholder="请输入密码" />
                </div>
                <div class="col-lg-10"><span class="Validform_checktip"></span></div>
            </div>
            <div class="line line-dashed"></div>

                <a href="{:U('Wap/authorization')}" class="pull-right m-b" style="color: #4cc0c1;">没有账号?点我</a>


            <div class="form-group panel-body">
                <input type="submit" target-form="form-horizontal" class="btn btn-block btn-info ajax-post btn-lg" value="登陆"/>
            </div>
        </form>

    </div>


</section>
<include file="Public:footer" />
<script>
    $(function(){
        $(".registerform").Validform({
            tiptype:2,
        });
    })
    $(function(){
        $("#index").css('display','none');
    })
</script>